<?php
@session_start();
include_once 'session_var.php';
if($_SESSION['web']!=true) {
		$_SESSION['languaje'] = substr($_SERVER["HTTP_ACCEPT_LANGUAGE"],0,2);
		//header('Location: http://firstclassapartment.com.ar/'.$_SESSION['languaje'].'/apartments.php');
		header('Location: //localhost/firstclassapartmentscordoba/'.$_SESSION['languaje'].'/apartments.php');   
	}else {
		include("../lang/{$_SESSION['languaje']}.php");
	}
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang=<?php echo $_SESSION['languaje'];?>>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="description" content=<?php echo $apartments_description;?>>
		<meta name="author" content="Pulce Web Solutions - www.pulce.com.ar">
		<!--Para que las páginas se muestren correctamente y el zoom funcione bien en los dispositivos móviles-->
		<meta name="viewport" content="width=device-width, initial-scale=1.0">
		<meta name="keywords" content="<?php echo $index_keywords;?>">

		<title><?php echo $apartments_title?></title>

		<?php
			include_once('links.php');
			include_once("analytics.php");
		?>

		<link href="../css/tooltipster.css" rel="stylesheet">
		
		<!--JQUERY-->
		<!--<script src="http://code.jquery.com/jquery-2.1.0.js"></script>-->
		<script src="../js/jquery-2.1.0.min.js"></script>
		<!--BOOTSTRAP-->
		<script src="../js/bootstrap.min.js"></script>
		<!-- BACKSTRECH -->
		<script src="../js/jquery.backstretch.min.js"></script>
		<!-- DROPDOWN -->
		<script src="../js/dropdown.js"></script>
		<!-- TOOLTIP -->
		<script src="../js/jquery.tooltipster.min.js"></script>
		<script>
			$(document).ready(function() {
	            $('#service').tooltipster({
	            	position:'bottom',
	            	contentAsHTML: true,
                	animation: 'grow'
	            });
	            $('#condition').tooltipster({
	            	position:'bottom',
	            	contentAsHTML: 'true',
	            	animation: 'grow'
	            });
	        });
	    </script>
	</head>
	<body>
		<div id="menu_bar">
			<?php include_once('menu_bar.php');?>
		</div>
		<div class="container">
			
			<div id="backstretch">
				<script>
					// Duration is the amount of time in between slides,
					// and fade is value that determines how quickly the next image will fade in
					$.backstretch([
					"../img/bkapartments.jpg"
					],{duration: 5000,fade:750});
				</script>
			</div>
			<div class="row">
				<div class="col-xs-5">
					<div class="box-central pos-apart">
						<h1>
							<?php echo $apartments_box_main_title;?>
						</h1>
						<p class="fcac-text" style="display: inline;">First Class Apartments Cordoba</p>
						<p style="display: inline;">
							<?php echo $apartments_sub;?>
						</p>
					</div>
				</div>
				<div class="col-xs-7">
					<div class="box-central pos-servicios">
						<h1>
							<?php echo $services_box_main_title;?>
						</h1>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_073_wifi.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_wifi;?>
								</p>
							</div>
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_257_sheriffs_star.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_security;?>
								</p>
							</div>
						</div>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_351_book_open.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_reception;?>
								</p>
							</div>
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_266_flag.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_languajes;?>
								</p>
							</div>
						</div>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_273_drink.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_bar;?>
								</p>
							</div>
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_021_snowflake.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_heat;?>
								</p>
							</div>
						</div>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_203_lock.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_safety;?>
								</p>
							</div>
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_276_cutlery.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_kitchen;?>
								</p>
							</div>
						</div>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_182_mute.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_window;?>
								</p>
							</div>
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_381_coat_hanger.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_white;?>
								</p>
							</div>
						</div>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_075_stroller.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $services_bassinet;?>
									<img src="../img/symbol/symbol_information.png" class="img-info" id="service" title="<?php echo $services_pop;?>"/>
								</p>
							</div>
						</div>

						<h1>
							<?php echo $conditions_box_main_title;?>
						</h1>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_386_log_in.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $conditions_check_in;?>
								</p>
							</div>
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_387_log_out.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $conditions_check_out;?>
									<img src="../img/symbol/symbol_information.png" class="img-info" id="condition" title="<?php echo $conditions_note;?>"/>
								</p>
							</div>
						</div>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_458_money.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $conditions_money;?>
								</p>
							</div>
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_002_dog.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $conditions_pets;?>
								</p>
							</div>
						</div>
						<div class="row margin-1em">
							<div class="col-xs-1">
								<div class="icons-servicios">
									<img src="../img/icons/glyphicons_362_smoking.png" class="img-icons-servicios"/>
								</div>
							</div>
							<div class="col-xs-5">
								<p class="text-list">
									<?php echo $conditions_smoke;?>
								</p>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
		<div id="footer">
			<?php include("footer.php");?>
		</div>
	</body>
</html>